#!/bin/sh -e

PREREQS=""

prereqs() { echo "$PREREQS"; }

case "$1" in
    prereqs)
    prereqs
    exit 0
    ;;
esac

. /usr/share/initramfs-tools/hook-functions
copy_exec /usr/bin/rsync /bin
copy_exec /sbin/fsck /bin
copy_exec /sbin/fsck.ext2 /bin
copy_exec /sbin/fsck.ext3 /bin
copy_exec /sbin/fsck.ext4 /bin
copy_exec /sbin/fsck.vfat /bin
# copy_exec /sbin/mount.aufs /bin
# copy_exec /usr/bin/pigz /bin
# copy_exec /usr/bin/plzip /bin

manual_add_modules squashfs
manual_add_modules overlay
manual_add_modules aufs
